package cn.zjk.springframework.context;

import java.util.EventListener;

/**
 * @author zjk
 * @CreateTime 2023/4/1 0:48
 */
public interface ApplicationListener<E extends ApplicationEvent> extends EventListener {
    /**
     * Handle an application event.
     * @param event the event to respond to
     */
    void onApplicationEvent(E event);
}
